from django import template
from django.utils.safestring import mark_safe
register = template.Library();
@register.filter(name='cpu_val_fmt')
def cpu_val_fmt(value):
    return round(value/1000,2)